package com.yanqu.road.entity.activity.hsisland.data;

public class HsIslandBoxData {

    /**
     * 宝箱配置ID
     */
    private int boxId;

    /**
     * x
     */
    private int x;

    /**
     * y
     */
    private int y;

    /**
     * 领取奖励的玩家id
     */
    private long userId;

    /**
     * 领取的奖励
     */
    private String reward;

    /**
     * 领取时间
     */
    private long time;

    public HsIslandBoxData() {}

    public HsIslandBoxData(int boxId, int x, int y) {
        this.boxId = boxId;
        this.x = x;
        this.y = y;
        this.userId = 0;
        this.reward = "";
    }

    public int getBoxId() {
        return boxId;
    }

    public void setBoxId(int boxId) {
        this.boxId = boxId;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
